import request from '@/utils/request'

export default{
    // 1.创建统计数据
    createStatistics(day) {
        return request({
          url: `/statistics/daily/createStatisticsByDay/${day}`,
          method: 'get'
        })
      },

    showChart(searchObj) {
        return request({
            url: `/statistics/daily/showData/${searchObj.type}/${searchObj.begin}/${searchObj.end}`,
            method: 'get'
        })
    }

    
}